<?php get_header(); ?>
    <div class="outer">
        <section id="main">
        <?php if ( have_posts() ) : while ( have_posts() ): the_post(); ?>
			<?php include(TEMPLATEPATH. '/loop.php'); ?>
			<nav id="article-nav">
				<?php $prev_post = get_previous_post();
					if (!empty( $prev_post )): ?>
  					<a title="<?php echo $prev_post->post_title; ?>" href="<?php echo get_permalink( $prev_post->ID ); ?>" id="article-nav-newer" class="article-nav-link-wrap">
      				<strong class="article-nav-caption">Newer</strong>
      				<div class="article-nav-title"><?php echo $prev_post->post_title; ?></div></a>
					<?php endif; ?>
				<?php
					$next_post = get_next_post();
					if (!empty( $next_post )): ?>
  					<a title="<?php echo $next_post->post_title; ?>" href="<?php echo get_permalink( $next_post->ID ); ?>" id="article-nav-older" class="article-nav-link-wrap">
      				<strong class="article-nav-caption">Older</strong>
      				<div class="article-nav-title"><?php echo $next_post->post_title; ?></div></a>
				<?php endif; ?>
  			</nav>
			<section id="comments">
				<?php comments_template(); ?>
			</section>
			<?php endwhile; endif; ?>
		</section>
    </div>
<?php get_footer(); ?>
